package com.cf.studiomanage.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.math.BigDecimal;
import java.sql.Timestamp;

@Data
@Schema(description = "财务记录实体")
public class Finance {
    @Schema(description = "记录ID")
    private Long id;

    @Schema(description = "类型（INCOME/EXPENSE）")
    private String type;

    @Schema(description = "金额")
    private BigDecimal amount;

    @Schema(description = "说明")
    private String description;

    @Schema(description = "经办人ID")
    private Long userId;

    @Schema(description = "记录时间")
    private Timestamp createdAt;
}
